package com.example.plat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.plat.enity.Activity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MyActivityMapper extends BaseMapper<Activity> {

    List<Activity> getMyActivity(String sponsor);

    List<Activity> getJoinActivity(Long userId);

    List<Activity> getCollection(Long userId);

}
